<%@ page language="java" pageEncoding="UTF-8"%><%@ taglib prefix="s" uri="/struts-tags"%>
<jsp:include page="/usercenter/include/base_usercenter_pre_part.jsp"></jsp:include>
<div class="funcpath">
	<font><s:text name="funcpath.start.text" /><a href="<%=request.getContextPath()%>/usercenter/index.do">我的账户</a> > 用户地址薄</font>
</div>
<div class="page_title">
	用户地址薄
</div>
<script type="text/javascript" src="<%=request.getContextPath()%>/usercenter/address/js/address.js"></script>
<div class="box_blue">
	<div class="box_title">
		用户地址薄
		<input type="button" onclick="javascript:jtool.goto('<%=request.getContextPath()%>/usercenter/address/editAddress.do');" value="新建地址" />
	</div>
	<s:if test="addresses==null || addresses.size==0">
		<s:text name="address.no.record" />
	</s:if>
	<s:else>
		<ol class="list">
			<s:iterator value="addresses">
				<li>
					<a href="<%=request.getContextPath()%>/usercenter/address/viewAddress.do?id=<s:property value="id"/>"> <s:property value="address" /> </a>
				</li>
			</s:iterator>
		</ol>
	</s:else>
</div>
<jsp:include page="/usercenter/include/base_usercenter_last_part.jsp"></jsp:include>